//Copyright (c) 2012 The cwkshell Authors. All rights reserved. 
// Use of this source code is governed by a BSD-style license that can be 
// found in the LICENSE file. 
#include "cuc/src/cwkshell/browser/ui/shell_select_file_policy.h" 


#include "base/bind.h"
#include "base/callback.h"
#include "base/logging.h"
#include "ui/base/l10n/l10n_util.h"

namespace cuc{ 
	namespace shell{ 

		ShellSelectFilePolicy::ShellSelectFilePolicy(
			content::WebContents* source_contents)
			: source_contents_(source_contents) {
		}

		ShellSelectFilePolicy::~ShellSelectFilePolicy() {}

		bool ShellSelectFilePolicy::CanOpenSelectFileDialog() {
			return FileSelectDialogsAllowed();
		}

		void ShellSelectFilePolicy::SelectFileDenied() {
		
		}

		// static
		bool ShellSelectFilePolicy::FileSelectDialogsAllowed() {
			return true;
		}
	} //namespace shell 
} //namespace cuc 
